package com.ruoyi.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ams.domain.AmsAssetInventoryDetail;

import java.util.List;

/**
 * 盘点明细Service接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */
public interface IAmsAssetInventoryDetailService  extends IService<AmsAssetInventoryDetail>
{
    /**
     * 查询盘点明细
     * 
     * @param inventoryDetailId 盘点明细主键
     * @return 盘点明细
     */
    public AmsAssetInventoryDetail selectAmsAssetInventoryDetailByInventoryDetailId(Long inventoryDetailId);

    /**
     * 查询盘点明细列表
     * 
     * @param amsAssetInventoryDetail 盘点明细
     * @return 盘点明细集合
     */
    public List<AmsAssetInventoryDetail> selectAmsAssetInventoryDetailList(AmsAssetInventoryDetail amsAssetInventoryDetail);

    /**
     * 新增盘点明细
     * 
     * @param amsAssetInventoryDetail 盘点明细
     * @return 结果
     */
    public int insertAmsAssetInventoryDetail(AmsAssetInventoryDetail amsAssetInventoryDetail);

    /**
     * 修改盘点明细
     * 
     * @param amsAssetInventoryDetail 盘点明细
     * @return 结果
     */
    public int updateAmsAssetInventoryDetail(AmsAssetInventoryDetail amsAssetInventoryDetail);

    /**
     * 批量删除盘点明细
     * 
     * @param inventoryDetailIds 需要删除的盘点明细主键集合
     * @return 结果
     */
    public int deleteAmsAssetInventoryDetailByInventoryDetailIds(Long[] inventoryDetailIds);

    /**
     * 删除盘点明细信息
     * 
     * @param inventoryDetailId 盘点明细主键
     * @return 结果
     */
    public int deleteAmsAssetInventoryDetailByInventoryDetailId(Long inventoryDetailId);
}
